
<extend name="Base/common"/>
<block name="header">
</block>

<block name="body">
    <div class="banner wow fadeInUp">
    <div class="header index_header">
        <div class="container">
            <div class="logo wow fadeInRight" >
                <img src="__PUBLIC__/Green/images/logo.png" alt="" />
            </div>
            <span class="menu"></span>
            <div class="top-menu wow fadeInLeft">
                <ul>
                <volist name="navigation" id='nav'>
                    <li><a class="<eq name='nav.selected' value='1'>active</eq> scroll hvr-shutter-out-horizontal" href="{$nav.url|get_nav_url}"  target="<eq name='nav.target' value='1'>_blank<else/>_self</eq>">{$nav.title}</a></li>
                </volist>
                <if condition="is_login()">
                    <li><a style="font-size: 16px; padding-right: 6px;" href="{:U('User/index')}" id="car_top_msg">{:get_nickname()}</a><a style="color: #fff;padding: 0px; font-size: 16px;"" href="{:U('User/logout')}">退出</a></li>
                    
                <else/>
                    <li><a class="scroll hvr-shutter-out-horizontal" href="javascript:void(0);" id="car_top_msg">登陆/注册</a></li>
                </if>
                 </ul>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
        <div class="container">
            <div class="index_top wow fadeInLeft text-center" data-wow-delay="0.4s">
                	<h1>50%</h1>
                	<h2>停车日最高奖励</h2>
                	<h3>UBI——基于驾驶行为的车险模式</h3>
                	<h3>智驾科技—— 一家专注于UBI车险服务的互联网企业</h3>
                	<h3>环境保——是智驾科技推出的首款基于使用时间的环保主题UBI车险</h3>
            </div>
            <a href="{:U('Premium/index')}" class="index_top_btn wow bounceIn" data-wow-delay="0.4s">试算保费</a>
            <!-- <img src="__PUBLIC__/Green/images/index_word1.png" alt="" class="index_word1"/> -->
        </div>
    </div>
    <div class="content">
        <div class="service-section">
            <div class="container">
            	<div class="service-section-head text-center wow fadeInRight index-js" style="overflow: hidden;">
            			<div style=" margin-bottom: 40px;"><h10>智保车险,停车奖励50%</h10></div>
            		<div class="index-xxjs">
            			
<!--                                 <i class="s1"></i> -->
                         	<img alt="" src="__PUBLIC__/Green/images/wxcx.png">
                            <div class="icon-text">
                                <h4>网销车险</h4>
                                <p>网销车险比传统方式销售立省15%，所有车险公司均衡价格，差异小</p>
                            </div>
            		</div>	
            		<div class="index-xxjs">
            			
                         <!--        <i class="s2"></i> -->
                            <img alt="" src="__PUBLIC__/Green/images/ttjl.png">
                            <div class="icon-text">
                                <h4>天天奖励</h4>
                                <p>智驾科技继续无条件补贴商业险10%，每日返现，购险折上折</p>
                            </div>
            		</div>	
            		<div class="index-xxjs">
            		
                             <!--    <i class="s3"></i> -->
                            <img alt="" src="__PUBLIC__/Green/images/hbjl.png">
                            <div class="icon-text">
                                <h4>安全环保奖励</h4>
                                <p>支持环保、健康、安全出行，停车日再奖励商业险40%</p>
                            </div>
            		</div>	
            	</div>
            	<div class="service-section-head text-center wow fadeInRight index-js" style="overflow: hidden;margin-top: -0.8em;">
            			<div  style=" margin-bottom: 40px;"><h10>中华保险&智驾科技联合</h10></div>
            		
            		<div class="index-xxjs">
            		
                                <!-- <i class="s4"></i> -->
                          <img alt="" src="__PUBLIC__/Green/images/ppbz.png">
                            <div class="icon-text">
                                <h4>品牌保障</h4>
                                <p>中华联合财产保险股份有限公司是我国第二家具有独立法人资格的国有独资保险公司。注册资本金居国内财险公司第六，市场规模位居国内财险市场第五；承保利润额位居行业第三
                                </p>
                            </div>
                            
                            
            		</div>	
            		<div class="index-xxjs">
            		 	<!-- 	<i class="s6"></i> -->
                            <img alt="" src="__PUBLIC__/Green/images/yzfw.png">
                             <div class="icon-text">
                                <h4>优质服务</h4>
                                <p>快速现场查勘，免费拖车服务，车辆紧急救援服务，先行赔付，全国通赔，小额免单证快赔服务</p>
                            </div>
            		</div>	
            		<div class="index-xxjs">
                          <!--   <i class="s5"></i> -->
                       <img alt="" src="__PUBLIC__/Green/images/qyry.png">
                            <div class="icon-text">
                                <h4>企业荣誉</h4>
                                <p>中华保险入选“亚洲品牌500 强”、“中国企业500 强”、“中国最具价值品牌”和“中国服务业企业500 强”；被授予“中国保险行业最具影响力品牌”、“中国最受信赖的财险公司”和“最具竞争力保险公司”等荣誉</p>
                            </div>
            		</div>	
            		
            	</div>
            	</div>
                <!-- <div class="service-section-head text-center wow fadeInRight" data-wow-delay="0.4s">
                    <div style="float:left;width:50%"><h3>智保车险,停车奖励50%</h3></div>
                        <div style="float:right;width:50%"><h3>中华保险&智驾科技联合</h3></div>
                </div>
                <div class="service-section-grids">
                    <div class="col-md-6 service-grid">
                        <div class="service-section-grid wow bounceIn" data-wow-delay="0.4s">
                            <div class="icon">
                                <i class="s1"></i>
                            </div>
                            <div class="icon-text">
                                <h4>网销车险</h4>
                                <p>网销车险比传统方式销售立省15%；所有车险公司均衡价格，差异小</p>
                            </div>
                            <div class="clearfix"></div>
                        </div>
                        <div class="service-section-grid wow bounceIn" data-wow-delay="0.4s">
                            <div class="icon">
                                <i class="s2"></i>
                            </div>
                            <div class="icon-text">
                                <h4>天天奖励</h4>
                                <p>智驾科技无条件补贴商业险10%，天天返</p>
                            </div>
                            <div class="clearfix"></div>
                        </div>
                        <div class="service-section-grid wow bounceIn" data-wow-delay="0.4s">
                            <div class="icon">
                                <i class="s3"></i>
                            </div>
                            <div class="icon-text">
                                <h4>安全环保奖励</h4>
                                <p>支持环保、健康、安全出行，停车日再奖励商业险40%</p>
                            </div>
                            <div class="clearfix"></div>
                        </div>
                    </div>
                    <div class="col-md-6 service-grid">
                        <div class="service-section-grid wow bounceIn" data-wow-delay="0.4s">
                            <div class="icon">
                                <i class="s4"></i>
                            </div>
                            <div class="icon-text">
                                <h4>中华保险</h4>
                                <p>中华联合财产保险股份有限公司是我国第二家具有独立法人资格的国有独资保险公司。注册资本金居国内财险公司第六，市场规模位居国内财险市场第五；承保利润额位居行业第三
                                </p>
                            </div>
                            <div class="clearfix"></div>
                        </div>
                        <div class="service-section-grid wow bounceIn" data-wow-delay="0.4s">
                            <div class="icon">
                                <i class="s5"></i>
                            </div>
                            <div class="icon-text">
                                <h4>企业荣誉</h4>
                                <p>中华保险入选“亚洲品牌500 强”、“中国企业500 强”、“中国最具价值品牌”和“中国服务业企业500 强”；被授予“中国保险行业最具影响力品牌”、“中国最受信赖的财险公司”和“最具竞争力保险公司”等荣誉</p>
                            </div>
                           
                            <div class="clearfix"></div>
                        </div>
                        <div class="service-section-grid wow bounceIn" data-wow-delay="0.4s">
                            <div class="icon">
                                <i class="s6"></i>
                            </div>
                             <div class="icon-text">
                                <h4>优质服务</h4>
                                <p>快速现场查勘，免费拖车服务，车辆紧急救援服务，先行赔付，全国通赔，小额免单证快赔服务</p>
                            </div>
                            <div class="clearfix"></div>
                        </div>
                    </div>
                    <div class="clearfix"></div>
                </div> -->
            </div>
        </div>
<!--         <div class="about-section">
            <div class="wow bounceInLeft" align="center" style="background-color:#3ba87a;padding: 50px;">
                <img src="__PUBLIC__/Green/images/about_pic.png" alt="" />
            </div>
            <div class="clearfix"></div>
        </div> -->
        <div class="price-section">
            <div class="container">
                <div class="price-section-head text-center wow fadeInLeft" data-wow-delay="0.4s" style="z-index: 99999;position: relative">
                    <h10>保费比例计算器</h10>
                    <div class="details wow fadeInLeft" data-wow-delay="0.4s">
                    	<!-- 保费计算form start -->
                        <form id="form1" method="post" action="#">
                            <li>
                                <input type="text" class="text" value="" name="price" placeholder="车价"/>
                                <a class="name"></a>
                            </li>
                            <li>
                                <input type="text" class="text datePicker" name="time" placeholder="购车时间"/>
                                <a class="sprite_num" ></a>
                            </li>
                            <li>
                            
                            <input type="text" value=""  placeholder="一周开车天数" id="text_day" name="text_day" class="text" onfocus="select_list('text_day','days')"  />  
                			<input type="hidden" name="days" id="days" />  
                        
                            
                                <a class="mail"></a>
                            </li>
                            <input type="submit" value="计算优惠">
                        </form>
                    </div>
                </div>
                <div class="price-section-grids">
                    <div class="col-md-4 price-value text-center wow fadeInLeft" data-wow-delay="0.4s">
                        <div class="price-section-grid">
                            <h5>传统车险</h5>
                            <h3><span>￥</span><span id="nt1">9500</span></h3>
                            <ul>
                                <li>购险金额￥<span id="nt2">9500</span></li>
                                <li>基础奖励￥0</li>
                                <li>环保安全奖励￥0</li>
                                <li>奖励合计￥0</li>
                            </ul>
                            <a href="javascript:void(0);">0优惠</a>
                        </div>
                    </div>
                    <div class="col-md-4 price-value text-center wow fadeInUp" data-wow-delay="0.6s">
                        <div class="price-section-grid">
                            <h5>电网销车险</h5>
                            <h3><span>￥</span><span id="tt1">8500</span></h3>
                            <ul>
                                <li>购险金额￥<span id="tt2">8500</span></li>
                                <li>基础奖励￥0</li>
                                <li>环保安全奖励￥0</li>
                                <li>奖励合计￥0</li>
                            </ul>
                            <a href="javascript:void(0);">平均九折</a>
                        </div>
                    </div>
                    <div class="col-md-4 price-value text-center wow fadeInRight" data-wow-delay="0.4s">
                        <div class="price-section-grid">
                            <h5>智保环境保</h5>
                            <h3><span>￥</span><span id="zt1">6500</span></h3>
                            <ul>
                                <li>购险金额￥<span id="zt2">8500</span></li>
                                <li>基础奖励￥<span id="zt3">850</span></li>
                                <li>环保安全奖励￥<span id="zt4">1150</span></li>
                                <li>奖励合计￥<span id="zt5">2000</span></li>
                            </ul>
                            <a href="javascript:void(0);">最高5折优惠</a>
                        </div>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        <div class="contact-section alignment">
        	
       			<div class=" container index-contact">
	       		<div class="contact" style="width: 20%">	
	       			<h1>联系我们</h1>
	       			<h2> 工作时间：9:00-17:30</h2>
	       			<h2>客服电话</h2>
	       			<p class="call" style="font-size: 30px;margin: 0.5em 0 0;" ><i class="phone" ></i>4000688511</p>
	       				
	       		</div>
	       		<div class="contact" style="margin-left: 47px;">
	       			<div class="img-ewm"><img alt="" src="__PUBLIC__/Green/images/index-APP.png"></div>
	       			<div class="img-text"><h2>智保APP二维码</h2></div>
	       			<div class="text"><h1>APP下载</h1>
	       			<h2>质保平台推出的全国首款环保主题APP车险产品，支持实时收益查看，三分钟出单，车况检测，车币兑换等</h2></div>
	       			
	       		
	       		</div>
	       		<div class="contact" style="float: right; margin-right: -43px;">
	       			<div class="img-ewm"><img alt="" src="__PUBLIC__/Green/images/index-wx.png"></div>
	       				<div class="img-text"><h2>智保微信二维码</h2></div>
	       			<div class="text"><h1>关注微信</h1>
	       			<h2>想了解智保新功能，促销活动和优惠政策，请关注智保车险公众账号</h2></div>
	       		</div>
       
       </div>
       </div>
	  		<div class="contact-bottom text-center" style="background: #fff;bottom: -67px;">
		        <div class="bottom-menu">
		            <ul>
		                <li><a class="scroll index-bottom-text" href="{:U('Page/zb')}">智保车险</a></li>
		                <li><a class="scroll index-bottom-text" href="{:U('Page/lp')}">理赔流程</a></li>
		                <li><a class="scroll index-bottom-text" href="{:U('Problem/index')}">常见问题</a></li>
		                <li><a class="scroll index-bottom-text" href="{:U('Propose/index')}">投诉建议</a></li>
		                <li><a class="scroll index-bottom-text" href="{:U('Page/about')}">商务合作</a></li>
		                <li><a class="scroll index-bottom-text" href="{:U('Job/index')}">招贤纳士</a></li>
		            </ul>
		        </div>
		    </div>
		    <div class="footer" style="background: #fff;margin-bottom: 50px;z-index: -1;">
		        <div class="container">
		            <div class="index-copyright text-center" >
		                <p style="margin-bottom: 25px;">Copyright &copy; 2015.智驾科技版权所有.</p>
		            </div>
		        </div>
		    </div>
    </block>
<block name="script">
<style>
	.alignment{
	
	}
	.img-ewm{
		margin-left: 60px;
	}
    .img-text{
		margin-top: 10px;
		margin-left: 80px;
		float: left;
    }
	.index-copyright p {
	    color: #7b7b7b;
	    font-size: 14px;
	    font-weight: 400;
	}
	.index-bottom-text{
		color: #7b7b7b !important;
		font-size:16px !important;
	}
 	.index-js h10{
		 font-size: 26px;
		 color:#282828
 	}   
 	.index-js  p{
		color: #7b7b7b;
	    font-size: 14px;
 		margin: 1.2em auto;
    	width: 60%;
 		line-height: 25px;
 	}
 	.index-js h4{
		color: #282828;
    	font-size: 18px;
 		margin-top: 1.2em;
 	}
 	.index-xxjs{
		overflow: hidden;
 		width: 32.888%;
 		float: left;
 	}
 	.contact-section{
		overflow: hidden;
 		background: #3ba87a;
 		height:314px;
 	}
 	.index-contact .contact{
		overflow: hidden;
 		width: 39.5%;
 		float: left;
 	}
 	.index-contact .contact h1{
		font-size:24px;
 		color:#fff;
 		margin-bottom: 20px;
 		
 	}
 	.index-contact .contact h2{
		font-size:14px;
 		color:#fff;
 		line-height: 27px;
 	}
 	.index-contact .contact .text{
		width: 170px; 
		float: left; 
		margin-top: -182px; 
		margin-left: 224px;
 	}
    
 </style>
<script type="text/javascript" src="__PUBLIC__/Green/js/datePicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/Green/js/dropdownlist.js"></script>
<script type="text/javascript">
$("span.menu").click(function() {
    $(".top-menu").slideToggle("slow", function() {
        // Animation complete.
    });
});
$(window).resize(function() {
	if($(window).width()>800){
		$(".top-menu").css("display","block");
		$(".header").css("height","88px");
	}else{
		$(".top-menu").css("display","none");
		$(".header").css("height","auto");
	}	
	
});
var option = [['0天','0'],['1天','1'],['2天','2'],['3天','3'],['4天','4'],['5天','5'],['6天','6'],['7天','7']];
var option_there=0;
function select_list(name,value,obj){
	if(option_there==0){
		jQuery.dmSelect(name,value,option); 
		option_there=1;
	}
}
jQuery.dmSelect = function(name,value,data){  
    jQuery("#" + name).attr("readonly","readonly");   //设置控件只读  
    var top = jQuery("#" + name).offset().top;    //获取控件top、left位置和width、height  
    var left = jQuery("#" + name).offset().left;  
    var height = jQuery("#" + name).height();  
    var width = jQuery("#" + name).width()+3;  
    var option_open = false;       //标记是否打开下拉option  
    function __dropheight(l){var h;if(l>10 || l<1){h = 10 * 15;}else{h = l * 15; h += 2;}return h;}   //计算下拉option显示高度  
    var div_html = "<div id='_li_"+name+"' style='-webkit-transform: translateZ(0);position:absolute;background-color:#FFFFFF;outline: 1px solid #dedede;width:100%;margin-bottom:1px; overflow-x:hidden;overflow-y:auto;display:none;z-index:99999;'>";  
    //for循环填充option  
    for(var i = 0;i < data.length; i++){div_html += "<div style='text-align:left;padding-left:39px;padding-top: 4px;cursor:pointer;height: 30px;' mce_style='text-align:left;padding-left:5px;cursor:pointer;' value='" + data[i][1] + "'>" + data[i][0] + "</div>";}  
    div_html += "</div>";  
    jQuery("#" + name).after(div_html);   //添加到input控件后面  
    function __open_option(){jQuery("div[id^='_li_']").hide();jQuery("#_li_" + name).show();option_open=true;}   //显示下拉option  
    function __hide_option(){jQuery("#_li_" + name).hide();option_open=false;jQuery(document).unbind("click",__hide_option);}   //隐藏下拉option  
    jQuery("#" + name).click(function(event){if(option_open){__hide_option();}else{__open_option();jQuery(document).bind("click",__hide_option)}event.stopPropagation();});  
    jQuery("#_li_" + name + " > div").hover(function(){jQuery(this).css({"background-color":"#3ba87a"});},function(){jQuery(this).css({"background-color":"#FFFFFF"});})  
    .click(function(){jQuery("#" + name).val(jQuery(this).html());jQuery("#" + value).val(jQuery(this).attr("value"));});  
}

function selectOnChange (obj) {
	$(".cur-select").text(obj.options[obj.selectedIndex].text);
	$("input[name=days]").attr('value',obj.options[obj.selectedIndex].value);
}
	
	
	
	$('#form1').validate({
			rules: {
				price_: {
					required: true,
					digits: true
				},
				days_: {
					required: true,
					digits: true,
					range: [0,7]
				}
			},
			messages: {
				price_: "请填写购车价格",
				days_: "请填写一周开车天数"
			},
			showErrors : function(errorMap, errorList) {  
			    $.each(errorList, function(i, v) {  
				    var msg = (v.message); 
				    if (msg != "")  {
				     	alert(msg); 
				     	return false;
				  	} 
			    });	
			} ,  
	        /* 失去焦点时不验证 */
	        onfocusout: false,
	        onkeyup: false,
            submitHandler:function(form){
                $.post("{:U('Premium/calcSimple')}",$(form).serialize(),function(data){
                    if(data.status){
                        for(var s in data.info){
                            $('#'+s).text(data.info[s]);
                        }
                    }else{
                        alert(data.info);
                    }
                },'json');
            } 
		});
</script>
</block>
